﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 报名表
    /// </summary>
   public class Signup:Base
    {
        /// <summary>
        /// 报名人
        /// </summary>
        [ForeignKey("P02")]
        [Column("A01")]
        public User? UserInfo { get; set; }

        /// <summary>
        /// 报名费
        /// </summary>

        [Column("A02")]
        public double Money { get; set; }

        /// <summary>
        /// 报名地点
        /// </summary>
        [Column("A03")]
        public string? Addres { get; set; }

        /// <summary>
        /// 接待人
        /// </summary>
        [ForeignKey("P03")]
        [Column("A04")]
        public User? EdiuUser { get; set; }
    }
}
